body {
  /* 搜索框样式 */
  /* 筛选区域样式 */
  /* 每行的样式 */
  /* 每组筛选项的样式 */
  /* 筛选选项样式 */
  /* 响应式布局 */
  /* 搜索结果 */
  /* 书籍网格 */
  /* 书籍卡片样式 */
  /* 分页 */
  /* 空状态 */
}
body .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}
body .search-container {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}
body .search-box {
  display: flex;
  gap: 10px;
}
body .search-input {
  flex: 1;
  padding: 12px 20px;
  border: 2px solid #1890ff;
  border-radius: 4px;
  font-size: 16px;
  transition: all 0.3s;
}
body .search-input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(24, 144, 255, 0.2);
}
body .search-btn {
  padding: 0 30px;
  background: #1890ff;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}
body .all {
  display: flex;
  width: 40vw;
}
body .search-btn:hover {
  background: #40a9ff;
}
body .filter-section {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}
body .filter-wrapper {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
body .filter-row {
  display: flex;
  gap: 40px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}
body .filter-row:last-child {
  border-bottom: none;
}
body .filter-group {
  display: flex;
  align-items: flex-start;
  flex: 1;
}
body .filter-label {
  width: 80px;
  color: #666;
  font-size: 14px;
  line-height: 28px;
  flex-shrink: 0;
}
body .filter-options {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
body .filter-option {
  padding: 4px 12px;
  font-size: 14px;
  color: #666;
  background: #f5f5f5;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}
body .filter-option:hover {
  background: #e8f5e9;
  color: #1890ff;
}
body .filter-option.active {
  background: #40a9ff;
  color: white;
}
@media (max-width: 768px) {
  body .filter-row {
    flex-direction: column;
    gap: 15px;
  }
  body .filter-group {
    width: 100%;
  }
  body .filter-label {
    width: 70px;
  }
}
body .search-results {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
}
body .results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 15px;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 20px;
}
body .results-count {
  color: #666;
  font-size: 14px;
}
body .sort-options {
  display: flex;
  gap: 15px;
}
body .sort-option {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #666;
  font-size: 14px;
  cursor: pointer;
  transition: color 0.3s;
}
body .sort-option:hover,
body .sort-option.active {
  color: #1890ff;
}
body .book-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
body .book-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s;
  border: 1px solid #eee;
}
body .book-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
body .book-image {
  position: relative;
  padding-top: 133%;
  overflow: hidden;
}
body .book-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
body .book-card:hover .book-image img {
  transform: scale(1.05);
}
body .book-info {
  padding: 6px;
}
body .book-title {
  font-size: 14px;
  line-height: 1;
  height: 15px;
  overflow: hidden;
  -webkit-box-orient: vertical;
}
body .book-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 12px;
  color: #666;
}
body .book-price {
  color: #ff4d4f;
  font-size: 18px;
  font-weight: bold;
}
body .pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
  gap: 10px;
}
body .page-btn {
  padding: 8px 12px;
  border: 1px solid #d9d9d9;
  background: #fff;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
}
body .page-btn.active,
body .page-btn:hover {
  border-color: #1890ff;
  color: #1890ff;
}
body .empty-state {
  text-align: center;
  padding: 60px 0;
  color: #999;
}
body .empty-state i {
  font-size: 48px;
  margin-bottom: 20px;
}
body .empty-state p {
  margin-bottom: 20px;
}
body .suggestion-title {
  font-size: 16px;
  color: #333;
  margin-bottom: 15px;
}
